package com.test.springboot.demo.service;


import com.github.pagehelper.PageInfo;
import com.test.springboot.demo.pojo.HostIp;

public interface HostService {
    HostIp getHostById(Integer id);

    void updateHost(HostIp hostIp)throws Exception;

    Integer getHostId(String host, Integer port);

    PageInfo<HostIp> getHostList(String host, String ip, Integer pageNum, Integer pageSize);
}
